package org.belkodevelop.controller;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.stereotype.Controller;

@Controller
public class MainPagesController {

    private final Log log = LogFactory.getLog(getClass());

    @RequestMapping(value = {"/", "", "index.html"})
    public String index() {
        return "main";
    }

    @RequestMapping("/registration-patient.html")
    public String registrationPatient() {
        return "registration-patient";
    }

    @RequestMapping("/registration-doctor.html")
    public String registrationDoctor() {
        return "registration-doctor";
    }

    @RequestMapping("/login.html")
    public String login() {
        return "login";
    }

    @RequestMapping("/about.html")
    public String about() {
        return "about";
    }

}
